package com.sn.service;

import com.sn.core.component.page.Pagination;
import com.sn.model.Customer;
import com.sn.model.VipUser;
import com.sn.model.req.CustomerReq;
import com.sn.model.req.VipUserReq;
import com.sn.model.vo.CustomerVo;
import com.sn.model.vo.VipUserVo;

import java.util.List;

/**
 * Created by qingshengzheng on 18/6/20.
 */
public interface UserService {

    public void addCustomer(Customer customer);


    public List<Customer> queryVipSearchList(String keyword,Integer usertype);


    public Pagination queryCustomer(CustomerReq req);


    public void deleteCustomer(Long id);

    public CustomerVo detailByname(String truename);

    public CustomerVo detail(Long cid);



    public void updateCustomer(Customer customer);

    public CustomerVo login(CustomerReq req);

    public void updatePwd(CustomerReq req);


}
